﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace RATSharpW7.ViewModel
{

    /// <summary>
    /// Custom eventargs with "succesfull" flag
    /// and with a localized message which is informing about an error
    /// This message can be directly shown to the user
    /// </summary>
    public class ModifyReservationEventArgs : EventArgs
    {

        public bool succesfull { get; private set; }
        public string message { get; private set; }

        public ModifyReservationEventArgs(bool succesfull, string message)
        {
            this.succesfull = succesfull;
            this.message = message;
        }
    }
}
